package com.dr.mapper;

import java.util.List;

import javax.servlet.http.HttpSession;

import org.apache.ibatis.annotations.Mapper;

import com.dr.pojo.User;
@Mapper
public interface UserMapper {
	List<User> findUserList();
	User findUserById(Integer id);
	List<User> findUserByName(String name);
	User  findUserByUserName(String userName);
	int insertUser(User user,HttpSession session);
	int updatePassword(User user);
	int updateUser(User user,HttpSession session);
	int insertUser(User user);
	int updateUser(User user);
	int deleteUser(Integer[] id);
}
